cookie1.el small cleanup
authorGlenn Morris <rgm@gnu.org>
Fri, 21 Jun 2013 07:35:33 +0000 (00:35 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 21 Jun 2013 07:35:33 +0000 (00:35 -0700)
commitd3d50d22c490948598ebc7f4f55d406e5cc44b82
treeb426e99d8b913d7ead8f8faea2095b31a0add6ab
parent8139fce359a576fc55c30c3c736c9f9aa93b5d20
cookie1.el small cleanup

Make some funcs interactive, copy some functionality from yow.el.

* lisp/play/cookie1.el (cookie): New custom group.
(cookie-file): New option.
(cookie-check-file): New function.
(cookie): Make it interactive.  Make start and end messages optional.
Interactively, display the result.  Default to cookie-file.
(cookie-insert): Default to cookie-file.
(cookie-snarf): Make start and end messages optional.
Default to cookie-file.  Use with-temp-buffer.
(cookie-read): Rename from read-cookie.
Make start and end messages optional.  Default to cookie-file.
(cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
(cookie-apropos, cookie-doctor): New functions, copied from yow.el

* lisp/obsolete/yow.el (read-zippyism): Use new name for read-cookie.
lisp/ChangeLog
lisp/obsolete/yow.el
lisp/play/cookie1.el